package vip.bblog.cunadmin.modules.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 发行商
 * </p>
 *
 * @author yy
 * @since
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_publisher")
@ApiModel(value="发行商", description="发行商")
public class Publisher implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "发行商")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "发行商首字母")
    @TableField("name_code")
    private String nameCode;

    @ApiModelProperty(value = "添加时间 ")
    @TableField("create_time")
    private String createTime;

}
